home *** CD-ROM | disk | FTP | other *** search
/ BBS Toolkit / BBS Toolkit.iso / doors_1 / gapqbdr.zip / WHATSNEW.TXT < prev   
Text File  |  1990-12-02  |  8KB  |  188 lines

  1.  
  2. 12/02/90
  3.  
  4.    Modified the COM routines so that all local data is contained
  5.    in the Code Segment of the GAPCOM module instead of the
  6.    default Data Segment.
  7.  
  8.    This will eliminate the problem some programmers were having
  9.    with their doors in that the door could only be run once (under
  10.    DesqView). On any subsequent runs, all incomming data from the
  11.    remote caller was being vectored to some unknown interrupt handler,
  12.    instead of GAPQBDR's own handler. 
  13.  
  14.    Hopefully, this will also eliminate the lock up problems some
  15.    were having when their door exits back to the BBS system.
  16.  
  17. 12/01/90
  18.  
  19.    Modified the timecredit variable so that it is no longer 
  20.    initialized with the timecredits as written to DOOR.SYS.
  21.  
  22.    When writing DOOR.SYS, GAP writes the actual time
  23.    remaining and this time includes any timecredits the caller
  24.    may have.  However, when figuring time left, GAPQBDR takes
  25.    into consideration the time credits, so if a caller had
  26.    10 minutes left and -10 time credits (in GAP), the door
  27.    program would log the caller off for lack of time.
  28.  
  29.    You may still use the timecredit variable as before, however
  30.    if you intend to update DOOR.SYS with any timecredits given
  31.    or taken away from the caller, you must add your timecredits
  32.    to a new variable called
  33.  
  34.                        realcredit
  35.    
  36.    before updating DOOR.SYS.
  37.  
  38.    Realcredit contains the actual BBS timecredits. It is not used
  39.    in figuring time left for a caller while in the door, since
  40.    the BBS program is supposed to write the actual time left to
  41.    DOOR.SYS.
  42.  
  43.  
  44. 07/08/90
  45.  
  46.    GAPQBDR has been updated so that it now reads the new fields
  47.    in DOOR.SYS. In addition, in a PCB system, the 3 files,
  48.    PCBOARD.DAT, PCBOARD.SYS, and USERS are no longer read.
  49.    Instead, GAPQBDR will read the DOOR.SYS file that PCB now
  50.    writes to obtain the information required to operate.
  51.  
  52.    The following variables have been declared and are available
  53.    for use. These variables are read from some of the new fields
  54.    in DOOR.SYS:
  55.  
  56.      COMMON SHARED dflt.color AS INTEGER    ' BBS default color
  57.      COMMON SHARED maxfiles   AS INTEGER    ' Max files available
  58.      COMMON SHARED curfiles   AS INTEGER    ' Current files downloaded
  59.  
  60.      COMMON SHARED doors.open AS LONG       ' Total doors opened
  61.      COMMON SHARED mesleft    AS LONG       ' Total messages left
  62.      COMMON SHARED downbytes  AS LONG;      ' total download bytes
  63.  
  64.      COMMON SHARED handle     AS STRING      ' caller's Handle
  65.      COMMON SHARED event.time AS STRING      ' event run time
  66.      COMMON SHARED last.new   AS STRING      ' last new files scan
  67.  
  68.   
  69.    GAPQBDR is now compatible with BASIC 7. This required but a very
  70.    minor change to one of the functions. However, it was a frustating
  71.    time, to say the least.  In our 'C' programming, we use the 
  72.    Alternate Math Library as this results in a 10k decrease in CODE
  73.    size. So, we set out to install BASIC 7 using the Alternate Math
  74.    Library. To utilize this library, you compile your modules using
  75.    the /FPa switch. Everything compiles just fine, but when trying 
  76.    to create the GAPQBDR Quick Library, the Linker complains of 
  77.    "unresolved external references". After many frustrating hours, we
  78.    decided to install BASIC 7 with the Emulator Library (the
  79.    default).  This Math Library works just fine and so we will just
  80.    leave it at that and not attempt to waste any more time trying
  81.    to determine why the Alternate Math Library does not work.
  82.  
  83.    There are two ZIP files contained within GAPQBDR that contain the
  84.    actual LIB and QLB files. One is for BASIC 7 (or QBX) and the
  85.    other is for QB 4.5.
  86.  
  87.    NOTE (09/02/90):
  88.      The Quick Library for BASIC 7 has been removed from GAPQBDR.
  89.      It seems that the only way to create a 'workable' QLB for
  90.      QBX is to use /Fs (far strings). This will create a GAPQBDR.QLB
  91.      that QBX can load, but your programs will not work correctly.
  92.      GAPQBDR was not written to take advantage of any so called
  93.      "features" of BASIC 7 (Far Strings being one of them), so if
  94.      you use BASIC 7, you will need to do your compiling using BC.
  95.  
  96.     
  97.  
  98. 12/16/89
  99.   
  100.    Updated the GAPDOS record structure to be compatible with the
  101.    current version of GAP.
  102.  
  103.    Fixed a problem with dropped carriers and PCB. 
  104.  
  105.  
  106. 10/01/89
  107.  
  108.    Changes to your source file:
  109.  
  110.    If you called previously undocumented GAPQBDR routines,
  111.    you will need to include GAPQBSRC.BI right after GAPQBDR.BI.
  112.    Previously undocumented functions are now fully referenced
  113.    in the printed manual. GAPQBSRC.BI contains the function
  114.    declarations for these routines as well as declarations
  115.    for the private variables. If you receive a "Sub Program
  116.    Not Defined" or an unresolved external reference, you
  117.    probably need to include GAPQBSRC.BI.
  118.    
  119.    The error handler is now part of your source modules. It 
  120.    is in GAPQBERR.BI and MUST be included AFTER any declarations
  121.    but BEFORE any basic statments.
  122.  
  123.    ' $INCLUDE: 'gapqberr.bi'
  124.  
  125.    In other words, it is in included after any variable
  126.    declarations and before any executible statments. Note
  127.    that A$ = "This is a sting" is a statment and not a variable
  128.    declaration.
  129.  
  130.    Because the error handler is now a part of your program, you must
  131.    use the /x switch when compiling your source module. 
  132.  
  133.    Please refer to the EXAMPLE.BAS program for more information
  134.    as to how the error handler is included in your programs.
  135.  
  136.  
  137.    A number of new routines were added to this release. These new
  138.    functions (as well as descriptions of previously undocumented
  139.    routines) are fully referenced in the printed manual.
  140.  
  141.    This release of GAPQBDR requires that the GAP system be at
  142.    version 4.3 or higher. New fields were added to DOOR.SYS and
  143.    only GAP versions at or above 4.3 are able to write them.
  144.    Your previously compiled doors will continue to operate
  145.    normally. This change affects only newly compiled programs.
  146.    
  147.    If you licensed the source code, there is additional information
  148.    contained within SRCREAD.ME.  In addition, you will find that
  149.    the source modules were broken up into smaller pieces and that
  150.    most of the private routines are now provided.
  151.  
  152.    
  153. 08/28/89
  154.  
  155.    GAPQBDR now utilizes all new communications routines. It is no
  156.    longer dependant upon QB to handle communications I/O. What 
  157.    this means to you, the programmer, is that you no longer need
  158.    worry about your end users having a DTR patched version of 
  159.    BRUN45.EXE. In addition, those "device time out" and "bad file
  160.    number" errors QB gives us when it has problems with the COM
  161.    port are eliminated.
  162.  
  163.    The communications routines are written in assembler for speed
  164.    and compactness. They are capable of handling any com port you
  165.    have set up, however we have limited them to COM 1 - COM 4. They
  166.    support speeds to 38.4k, and will automatically use the 16550
  167.    FIFO buffer if that chip is installed.
  168.  
  169.    Because of these modifications, you will need to make changes to
  170.    your source code if you accessed the com port directly or 
  171.    through file #9.  The communications routines are documented in
  172.    the printed manual only.
  173.  
  174.    It is of vital importance that you exit your door via the 
  175.    leave function. Failure to do so will leave communications
  176.    interrupts active which will cause your computer to lock up at
  177.    some point.  
  178.  
  179.    The GAPQBDR environment variable is no longer used to specify
  180.    that the BBS is a PCB system.  Instead, line 3 of the door
  181.    configuration file is used for this purpose.  On line 3 of that
  182.    file, enter (or have your end users enter) a 1 if the BBS
  183.    is PCB, or 0 for a GAP system. The default is still GAP mode so
  184.    if anything other than a 1 is found on line 3 of the configuration
  185.    file, GAPQBDR will assume the BBS is GAP. Any options you may
  186.    need for a particular door will begin on line 4.
  187.  
  188.